package work.timejay.shop.service.user;

import work.timejay.common.SuperService;
import work.timejay.dto.shop.UserLoginDTO;
import work.timejay.dto.shop.UserRegisterDTO;
import work.timejay.shop.entity.user.User;
import work.timejay.vo.shop.UserLoginVO;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 王文杰
 * @since 2024-01-29
 */
public interface UserService extends SuperService<User> {

    /**
     * 登录接口
     * @param dto
     * @return
     */
    UserLoginVO login(UserLoginDTO dto);

    /**
     * 注册登录
     * @param dto
     * @return
     */
    UserLoginVO register(UserRegisterDTO dto);
}
